package com.zj.web.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRedPacketDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long packetId;//"主键"
    private Long userId;//"用户ID"
    private Long activityId;//"活动ID"
    private Double amount;//"抢到的金额"
    private Date receivedAt;//"领取时间"

    private String title;//"活动标题"
}
